subt.launch: add generic process launcher#511
Conversation
Entry can be added to a config file with driver `subt.launch.Launch` that can be used to launch a generic process when other osgar nodes are started and terminated when other nodes are terminated.
|
What is the plan for communicating with such a module/process? |
|
For now it can be used to run these: osgar/subt/script/run_eduro_ros.sh Line 6 in bf2448d etc. So in general, the plan is to leverage more zmq while simplifying its startup and shutdown so that even multi-process run can be started and shutdown as single-process without adding startup scripts.
|
|
With #525 we can finally use this even with variable arguments such as robot name. |
| if __name__ == "__main__": | ||
| import unittest | ||
| unittest.main(module=None) | ||
| import unittest.loader |
There was a problem hiding this comment.
can you please add comment here why the simple solution does not work? (I noticed failure on Windows, so it is probably related)
There was a problem hiding this comment.
I am not sure why it shows here as a new code since it has already been integrated to master as #510.
There was a problem hiding this comment.
I have merged master into this PR and the code you are referring to has disappeared so it has been an artifact of the master not being merged here. And to tell the truth, I no longer remember why exactly it has not worked.
Entry can be added to a config file with driver
subt.launch.Launchthat can be used to launch a generic process when other osgar nodes
are started and terminated when other nodes are terminated.